github.com/jackc/pgx/v5/internal/pgio.Reader.s (field)
14 uses
github.com/jackc/pgx/v5/internal/pgio (current package)
read.go#L25: s []byte
read.go#L31: return &Reader{s: s}
read.go#L49: if len(r.s)-r.rp < n {
read.go#L57: r.fail(fmt.Errorf("%w: %d needed at offset %d, %d remain", ErrInsufficientBytes, n, r.rp, len(r.s)-r.rp))
read.go#L67: return len(r.s) - r.rp
read.go#L74: b := r.s[r.rp]
read.go#L83: n := binary.BigEndian.Uint16(r.s[r.rp:])
read.go#L96: n := binary.BigEndian.Uint32(r.s[r.rp:])
read.go#L109: n := binary.BigEndian.Uint64(r.s[r.rp:])
read.go#L128: b := r.s[r.rp : r.rp+n]
read.go#L140: i := bytes.IndexByte(r.s[r.rp:], 0)
read.go#L145: b := r.s[r.rp : r.rp+i]
read.go#L201: if r.rp != len(r.s) {
read.go#L208: return fmt.Errorf("%d unexpected trailing bytes at offset %d", len(r.s)-r.rp, r.rp)
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)